package com.itheima.pojo.client.selectDishListVo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author ChenJunJie
 * @date 2022/6/19 18:52
 * 菜品列表出参
 */
public class SelectDishListVo {
    /**
     * 菜品id
     */
    private String id;
    /**
     * 类型:1菜品分类 2套餐分类
     */
    private Integer type;
    /**
     * 菜品名
     */
    private String name;
    /**
     * 所属分类
     */
    private String categoryId;
    /**
     * 菜品价格
     */
    private BigDecimal price;
    /**
     * 状态码:1成功 0失败（不懂干啥的）
     */
    private String code;
    /**
     * 菜品图片
     */
    private String image;
    /**
     * 描述
     */
    private String description;
    /**
     * 0禁用 1启用
     */
    private Integer status;
    /**
     * 顺序
     */
    private Integer sort;
    /**
     * 所属分类名
     */
    private String categoryName;
    /**
     * 菜品口味
     */
    private List<SelectFlavorListVo> flavors;
    /**
     * 菜品份数
     */
    private Integer copies;
    /**
     *创建时间
     */
    private Date createTime;
    /**
     *更新时间
     */
    private Date updateTime;
    /**
     *创建人
     */
    private String createUser;
    /**
     *修改人
     */
    private String updateUser;

    public SelectDishListVo() {
    }

    public SelectDishListVo(String id, Integer type, String name, String categoryId, BigDecimal price, String code, String image, String description, Integer status, Integer sort, String categoryName, List<SelectFlavorListVo> flavors, Integer copies, Date createTime, Date updateTime, String createUser, String updateUser) {
        this.id = id;
        this.type = type;
        this.name = name;
        this.categoryId = categoryId;
        this.price = price;
        this.code = code;
        this.image = image;
        this.description = description;
        this.status = status;
        this.sort = sort;
        this.categoryName = categoryName;
        this.flavors = flavors;
        this.copies = copies;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.createUser = createUser;
        this.updateUser = updateUser;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public List<SelectFlavorListVo> getFlavors() {
        return flavors;
    }

    public void setFlavors(List<SelectFlavorListVo> flavors) {
        this.flavors = flavors;
    }

    public Integer getCopies() {
        return copies;
    }

    public void setCopies(Integer copies) {
        this.copies = copies;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        return "SelectDishListDto{" +
                "id='" + id + '\'' +
                ", type=" + type +
                ", name='" + name + '\'' +
                ", categoryId='" + categoryId + '\'' +
                ", price=" + price +
                ", code='" + code + '\'' +
                ", image='" + image + '\'' +
                ", description='" + description + '\'' +
                ", status=" + status +
                ", sort=" + sort +
                ", categoryName='" + categoryName + '\'' +
                ", flavors=" + flavors +
                ", copies=" + copies +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createUser='" + createUser + '\'' +
                ", updateUser='" + updateUser + '\'' +
                '}';
    }
}
